* {
    padding: 0;
    margin: 0;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #000;
}

body {
    /* background-color: #f6f6f6; */
    font-size: 12px;
}

#headerTop {
    height: 30px;
    /* background-color: lawngreen; */
    background-color: #f6f6f6;
}

.headerTop-core {
    width: 1200px;
    /* background-color: lemonchiffon; */
    height: 100%;
    margin: 0px auto;
    display: flex;
    justify-content: flex-end;
    font-size: 12px;
}

.headerTop-core>li {
    line-height: 30px;
    /* margin: 0px 5px; */
    padding: 0px 10px;
}

.headerTop-core>li>a {
    color: #000;
}

.headerTop-core>li>a:hover {
    color: red;
}

.headerTop-core>li>.register {
    color: red
}

.headerTop-core>.shoppingTrolley:hover {
    border: 1px #f6f6f6 solid;
    background-color: #fff;
    padding: 0px 9px;
}


/* logo  搜索栏 */

header {
    height: 85px;
    background-color: #fff;
}

.headerCore {
    width: 1200px;
    margin: 0px auto;
    height: 100%;
    /* background-color: lightcoral; */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    background: url(../images/logo.jpg) no-repeat center;
    height: 44px;
    width: 198px;
    text-indent: -999px;
}

.headerCenter {
    /* width: 300px; */
    height: 55px;
    margin-left: 160px;
}

.headerCenter a {
    line-height: 55px;
    font-size: 20px;
    margin: 0px 10px;
    color: #5e5e5e;
}

.headerCenter a .iconfont {
    font-size: 30px;
    color: red;
    margin: 5px 10px 0px 0px;
    /* display: block; */
}

.headerCenter a .icon-shandian {
    font-size: 36px;
}


/*logo- 搜索栏 */

.seek {
    width: 190px;
    height: 30px;
    background-color: #eee;
    border: none;
    outline: none;
}

.seekBut {
    width: 30px;
    height: 30px;
    background-color: red;
    color: #fff;
    border: none;
    cursor: pointer;
    outline: none;
}


/* 导航栏 */

nav {
    background-color: #fff;
    border-bottom: 2px red solid;
    height: 38px;
}

nav>ul {
    width: 1200px;
    margin: 0px auto;
    height: 38px;
}

nav>ul>a {
    float: left;
    padding: 0px 25px;
    line-height: 38px;
    font-size: 14px;
}

.option {
    background-color: #ff464e;
    border-radius: 5px 5px 0px 0px;
    color: #fff;
}


/* 详情页主体外框 */

#wrap,
.subject {
    width: 1200px;
    margin: 0px auto;
    clear: both;
}


/* 路径 */

.way {
    margin: 20px 0px;
    /* background-color: yellowgreen; */
    height: 20px;
    font-size: 16px;
    line-height: 20px;
}


/* 主体左边图片 */

.subject>div {
    float: left;
}

.left>ul {
    width: 58px;
    display: inline-block;
    margin-right: 18px;
    /* vertical-align: middle; */
}

.left>ul>li {
    border: 1px solid #ebebeb;
    height: 58px;
    margin-bottom: 8px;
    width: 58px;
}

.pic {
    display: inline-block;
    height: 400px;
    overflow: hidden;
    vertical-align: top;
    width: 400px;
    text-align: center;
}

.pic>img {
    width: 400px;
    height: 400px;
}


/* 图片下方的字 */

.picText {
    margin-top: 20px;
    margin-left: 80px;
}

.picTextWarp {
    display: inline-block;
}

.picTextWarp>span {
    font-size: 12px;
    color: #666;
    margin: 5px 10px;
}

.picText2 {
    width: 338px;
    clear: both;
    margin: 20px 0 0 76px;
    line-height: 20px;
}

.picText2>a {
    float: left;
    margin-right: 70px;
    cursor: pointer;
}

.picText2>a>.iconfont {
    color: red;
}

.picText2>a:hover {
    color: red;
}


/* 主体中间 */

.conter {
    width: 460px;
    margin-left: 36px;
    float: left;
    /* background-color: red; */
}

.conTltle {
    font-size: 18px;
    font-weight: 900;
    line-height: 30px;
}


/* 价格部分 */

.conPrice {
    height: 84px;
    width: 450px;
    background-color: #FFF0F0;
    margin-top: 10px;
}

.now {
    font-size: 30px;
    color: red;
    float: left;
    line-height: 40px;
}

.original {
    color: #999;
    float: left;
    font-size: 18px;
    line-height: 40px;
    margin-left: 10px;
}

.conTime {
    float: right;
    line-height: 40px;
    margin-right: 10px;
}

.conMoney {
    /* clear: both; */
    overflow: hidden;
}

.promotion {
    margin-top: 10px;
}

.promotion>span {
    color: #fff;
    background-color: orange;
    padding: 0px 5px;
}

.promotion>a {
    margin-left: 5px;
}


/* 配送地区 */

.freight {
    padding: 6px 0 6px 10px;
    line-height: 32px;
    width: 434px;
    border-bottom: dashed #ccc 1px;
    /* overflow: hidden; */
}

.freight>dt {
    color: #999;
    width: 50px;
    /* height: 50px; */
    float: left;
    line-height: 32px;
}

.freight>dd {
    position: relative;
    font-size: 12px;
    float: left;
    width: 300px;
}

.addressSelector {
    display: inline-block;
    border: 1px solid #dbdbdb;
    height: 18px;
    line-height: 18px;
    padding: 0 8px;
    cursor: pointer;
}

.city {
    position: absolute;
    top: 27px;
    left: 0;
    width: 360px;
    padding: 10px 0;
    z-index: 100;
    border: #e2e2e2 solid 1px;
    background: #fff;
    text-indent: 15px;
    display: none;
}

.city>ul>li {
    float: left;
    width: 120px;
    height: 24px;
    line-height: 24px;
    font-size: 12px;
}

.city>ul>li>a {
    color: #0289cd;
}


/* 颜色 */

.colour {
    width: 450px;
    overflow: hidden;
    margin: 15px 0px 0px 5px;
}

.colour>p {
    float: left;
    height: 40px;
    line-height: 40px;
}

.colour>ul {
    float: left;
    width: 410px;
}

.colour>ul>li {
    float: left;
    height: 40px;
    line-height: 40px;
    border: 1px solid #ccc;
    padding: 0px 20px;
    margin: 5px 10px;
    cursor: pointer;
}

.colour>ul>li:hover,
.comSize>ul>li:hover {
    border-color: #000;
}

.colour>ul>.colorStyle {
    color: red;
    border-color: red;
}


/* 尺码 */

.comSize {
    width: 450px;
    overflow: hidden;
    margin: 15px 0px 0px 5px;
}

.comSize>p {
    float: left;
    height: 40px;
    line-height: 40px;
}

.comSize>ul {
    float: left;
    width: 410px;
}

.comSize>ul>li {
    float: left;
    height: 40px;
    line-height: 40px;
    border: 1px solid #ccc;
    padding: 0px 20px;
    margin: 5px 10px;
    cursor: pointer;
}

.comSize>ul>.sizeStyle {
    color: red;
    border-color: red;
}


/* 数量 */

.number {
    margin-top: 10px;
    padding-left: 12px;
    overflow: hidden;
}

.number>dt {
    width: 50px;
    float: left;
    line-height: 30px;
}

.number>dd {
    float: left;
}

.number>dd>p {
    background: none repeat scroll 0 0 #fff;
    border: 1px solid #e2e2e2;
    float: left;
    line-height: 26px;
    margin-right: 10px;
    height: 28px;
    color: #666;
}


/* 减号和加号 */

.minus,
.plus {
    cursor: pointer;
    float: left;
    font-size: 26px;
    height: 28px;
    text-align: center;
    width: 26px;
}


/* 数量数字 */

.number>dd>p>input {
    background: #f6f6f6;
    font-size: 14px;
    border-color: #e2e2e2;
    border-style: solid;
    border-width: 0 1px;
    float: left;
    height: 28px;
    line-height: 28px;
    padding: 0 5px;
    text-align: center;
    width: 40px;
    color: #8a8a8a;
}


/* 立即购买和加入购物车按钮 */

#buyJoins {
    margin: 20px 0 0 64px;
    /* float: left;
    width: auto; */
    /* display: inline; */
    /* position: relative; */
}

.buy {
    text-align: center;
    line-height: 38px;
    background: #FFF0F0;
    width: 154px;
    height: 38px;
    display: block;
    font-size: 18px;
    color: #ff464e;
    float: left;
    border-radius: 2px;
    border: 1px solid #ff464e;
}

.joins {
    text-align: center;
    line-height: 38px;
    width: 154px;
    height: 38px;
    display: block;
    font-size: 18px;
    float: left;
    border-radius: 2px;
    border: 1px solid #ff464e;
    background: #ff464e;
    color: #fff;
    border-color: transparent;
    margin-left: 40px;
}


/* 右侧店铺信息 */

.right {
    display: inline-block;
    margin-left: 16px;
    width: 191px;
    background: #fff;
    border: 1px solid #ebebeb;
    vertical-align: top;
    text-align: center;
}


/* 店铺 */

.store {
    padding: 20px 0;
    margin: 0 20px;
    border-bottom: 1px dotted #ebebeb;
    text-align: center;
}

.storeImg {
    width: 48px;
    height: 48px;
    border: 1px solid #ebebeb;
    margin-left: 50px;
    line-height: 48px;
}

.storeImg>img {
    width: 48px;
    height: 24px;
    vertical-align: middle;
}

.storeName {
    font-size: 14px;
    color: #333;
    font-weight: bold;
    margin-top: 16px;
    margin-bottom: 8px;
}

.store>p {
    font-size: 12px;
    color: #999;
}


/* 保障 */

.guarantee {
    text-align: left;
    padding: 20px 0;
    margin: 0 20px;
    border-bottom: 1px dotted #ebebeb;
}

.guarantee>p {
    margin-bottom: 20px;
    font-size: 12px;
    color: #666;
}

.guarantee>p>.iconfont {
    color: red;
    font-size: 14px;
    margin-right: 5px;
}


/* 联系客服 */

.sale {
    margin-top: 20px;
    text-align: left;
    margin-left: 21px;
    margin-bottom: 50px;
}

.sale>a {
    color: #5e5e5e;
}

.sale>.iconfont {
    color: red;
    font-size: 14px;
    margin-right: 5px;
}


/* ------------------------------------------------------------- */


/* 页面右侧导航栏 */

#rightNav {
    width: 50px;
    height: 100%;
    background: #444;
    position: fixed;
    color: #fff;
    right: 0px;
    top: 0px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 99;
}

.rightNavTop {
    width: 100%;
    height: 375px;
    /* background-color: yellow; */
    margin-top: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    /* font-size: 18px; */
}

.rightNavTop .iconfont {
    font-size: 22px;
}

.sack {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: #555 solid 1px;
    border-bottom: #555 solid 1px;
    width: 100%;
    cursor: pointer;
}

.sack span {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20px;
    margin: 5px 0px;
    font-size: 18px;
    /* line-height: 20px; */
    text-align: center;
}

.sack>.sackNum {
    border-radius: 50%;
    background-color: red;
    color: #fff;
    width: 27px;
    height: 27px;
    text-align: center;
    line-height: 27px;
}

.icon-gerenyonghutouxiang2,
.rightNavTop>.icon-shoucang,
.icon-wodeyouhuijuan {
    width: 100%;
    height: 50px;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
}

.icon-gerenyonghutouxiang2:hover,
.icon-wodeyouhuijuan:hover,
.icon-shoucang:hover,
.sack:hover,
.icon-pan_icon:hover,
.icon-ico:hover,
.icon-fanhuidingbu:hover {
    background-color: #ff464e;
}

.sack:hover>.sackNum {
    background-color: #fff;
    color: #ff464e;
}


/* 导航栏下半边 */

.rightNavBot {
    width: 100%;
    height: 200px;
    /* background-color: springgreen; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.rightNavBot>.iconfont {
    font-size: 20px;
    height: 50px;
    width: 100%;
    line-height: 50px;
    text-align: center;
    cursor: pointer;
}